package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.core.support.auth.SysAuth;
import com.weixing.mall.provider.model.domain.AgentBonusIssue;
import com.weixing.mall.provider.model.dto.AgentBonusIssueDto;
import com.weixing.mall.provider.model.enums.AgentWithdrawAuditEnum;
import com.weixing.mall.provider.model.query.AgentBonusIssueQuery;
import com.weixing.mall.provider.model.vo.AgentBonusIssueVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Small
 * @since 2020-07-20
 */
public interface IAgentBonusIssueService extends IService<AgentBonusIssue> {

    IPage<AgentBonusIssue> bounsList(Page page, AgentBonusIssueQuery agentBonusIssueQuery);

    IPage<AgentBonusIssueVo> selectListOfPage(Page initMpPage, AgentBonusIssueQuery agentBonusIssueQuery, SysAuth auth);

    void audit(SysAuth auth, AgentWithdrawAuditEnum auditResult, Long id,String remark);

    void save(SysAuth auth,AgentBonusIssueDto agentBonusIssueDto) throws Exception;
}
